<!DOCTYPE html>
<html>
  <head>
    <meta charset="utf-8" />
    <title></title>
  </head>
  <body>
    <script src="https://cdn.jsdelivr.net/npm/vue@2/dist/vue.js"></script>
    <div id="app">
      <p>{{msg}}</p>
      <p v-if="showData">9090</p>
    </div>
    <script>
      const app = new Vue({
        el: '#app',
        data() {
          return {
            msg: 'test name',
            showData: true,
          };
        },
      });
      console.log(app);
      console.log(app.msg);
    </script>
  </body>
</html>
